
const mongoose = require('mongoose')

const Scheme = mongoose.Schema

const roleType = {
    "id": Number,
    "roleName": String,
    "roleType": String,
    "rights": Array
}

const roleModel = mongoose.model('role', new Scheme(roleType))

module.exports = roleModel